static_library("cppcoreguidelines") {
  output_name = "clangTidyCppCoreGuidelinesModule"
  configs += [ "//llvm/utils/gn/build:clang_code" ]
  deps = [
    "//clang-tools-extra/clang-tidy",
    "//clang-tools-extra/clang-tidy/misc",
    "//clang-tools-extra/clang-tidy/modernize",
    "//clang-tools-extra/clang-tidy/readability",
    "//clang-tools-extra/clang-tidy/utils",
    "//clang/lib/AST",
    "//clang/lib/ASTMatchers",
    "//clang/lib/Basic",
    "//clang/lib/Lex",
    "//clang/lib/Serialization",
    "//clang/lib/Tooling",
    "//llvm/lib/Support",
  ]
  sources = [
    "AvoidGotoCheck.cpp",
    "AvoidNonConstGlobalVariablesCheck.cpp",
    "CppCoreGuidelinesTidyModule.cpp",
    "InitVariablesCheck.cpp",
    "InterfacesGlobalInitCheck.cpp",
    "MacroUsageCheck.cpp",
    "NarrowingConversionsCheck.cpp",
    "NoMallocCheck.cpp",
    "OwningMemoryCheck.cpp",
    "PreferMemberInitializerCheck.cpp",
    "ProBoundsArrayToPointerDecayCheck.cpp",
    "ProBoundsConstantArrayIndexCheck.cpp",
    "ProBoundsPointerArithmeticCheck.cpp",
    "ProTypeConstCastCheck.cpp",
    "ProTypeCstyleCastCheck.cpp",
    "ProTypeMemberInitCheck.cpp",
    "ProTypeReinterpretCastCheck.cpp",
    "ProTypeStaticCastDowncastCheck.cpp",
    "ProTypeUnionAccessCheck.cpp",
    "ProTypeVarargCheck.cpp",
    "SlicingCheck.cpp",
    "SpecialMemberFunctionsCheck.cpp",
  ]
}
